package com.yf.springboot1;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import sun.misc.BASE64Encoder;

import java.util.Calendar;
import java.util.Date;

/**
 * Hello world!
 *
 */
//在spring启动的时候自动配置扫描包路径
@EnableAutoConfiguration
@MapperScan(basePackages = {"com.yf.mapper"})
@ComponentScan({"com.yf.controller","com.yf.service"})

public class App
{

    public static void main( String[] args )
    {
        SpringApplication.run(App.class,args);
    }
}
